/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

dojo.provide("afitco.eTajer.ui.test");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("afitco.eTajer.ui.test",
    [dijit._Widget], {
        // counter
        _i: 0,

        buildRendering: function(){
            // create the DOM for this widget
            div = document.createElement("div");
            div.innerHTML = "Sweet";
            
            this.domNode = div;
        },

        postCreate: function(){
            // every time the user clicks the button, increment the counter
            //this.connect(this.domNode, "onclick", "increment");
        },

        increment: function(){
            this.domNode.innerHTML = ++this._i;
        }

    });
